<!doctype html>
<html>

	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="css/mui.css" rel="stylesheet" />
		<style type="text/css">
			
		</style>
	</head>

	<body>
		<script type="text/javascript">
			var aaa = {"name":"诠注","age":18,"arr":[1,2,3]};
			
			for(var k in aaa){
				console.log(k);
				console.log(aaa[k]);
			}
			
			var arr = [1,2,3];
			for(var k in arr){
				console.log(k);
				console.log(arr[k]);
			}


//制作一个json,然后
			var json = {};
			console.log(json);
			for(var i = 1; i<10;i++){
				json[i] = i*10;
			}
			console.log(json);
// 			for(var k in json){
// 				console.log(k);
// 				console.log(json[k]);
// 			}
		</script>
	</body>

</html>
